package com.hl.service;

import java.util.List;

import com.hl.bean.EmployeeHeadshipBean;
import com.hl.util.Pager;

public interface IEmployeeHeadshipService {

	Pager find(EmployeeHeadshipBean bean, int curpage, int recordSize) throws Exception;

	boolean existId(String belongHeadshipId) throws Exception;

	boolean existName(String headship) throws Exception;

	boolean save(EmployeeHeadshipBean bean) throws Exception;

	EmployeeHeadshipBean get(EmployeeHeadshipBean bean) throws Exception;

	boolean update(EmployeeHeadshipBean bean) throws Exception;

	boolean existUpdateId(String belongHeadshipId, String headshipId) throws Exception;

	boolean existUpdateName(String headship, String headshipId) throws Exception;

	boolean delete(EmployeeHeadshipBean bean) throws Exception;

	boolean batchDelete(String ids) throws Exception;

	List<EmployeeHeadshipBean> findAll() throws Exception;

}
